package cn.gov.pbc.gd.credit.provider.api.realuser.impl;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.liu.jbase.ResultVo;
import com.liu.jbase.service.db.impl.DBBaseServiceImpl;

import cn.gov.pbc.gd.credit.api.realuser.IRealUserApi;
import cn.gov.pbc.gd.credit.provider.dao.realuser.IRealUserDao;
import cn.gov.pbc.gd.credit.vo.realuser.RealUserVo;
import cn.gov.pbc.gd.credit.vo.realuser.ResRealUserVo;

@Service
public class RealUserApiImpl extends DBBaseServiceImpl<ResRealUserVo, RealUserVo, IRealUserDao> implements IRealUserApi{
	
	@Autowired
	private IRealUserDao realUserDao;
	@Override
	public List<ResRealUserVo> queryAllRealUserWithOutUser(String userId) {
		return realUserDao.queryAllRealUserWithOutUser(userId);
	}
	@Override
	public List<ResRealUserVo> queryRealUserByUserId(String id) {
		return realUserDao.queryRealUserByUserId(id);
	}
	@Override
	public List<ResRealUserVo> queryThisUserShowLoginNameOrNot(String userName) {
		return realUserDao.queryThisUserShowLoginNameOrNot(userName);
	}

}
